import request from '/@/utils/request';

// 定义接口来定义对象的类型
export interface RoleData {
	roleName: string;
	roleLabel: String;
}

export function roleMenuApi() {
	return {
		initRoleData: () => {
			return [
				{
					roleName: 'admin',
					roleLabel: '超级管理员',
				},
				{
					roleName: 'common',
					roleLabel: '普通用户',
				},
			];
		},
	};
}